package com.gsafety.wellsfort.dao.knowledge;

import com.gsafety.wellsfort.domain.dto.material.MaterialQueryDTO;
import com.gsafety.wellsfort.domain.model.knowledge.TeachingMaterial;

import java.util.List;

public interface TeachingMaterialDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(TeachingMaterial record);

    int insertSelective(TeachingMaterial record);

    TeachingMaterial selectByPrimaryKey(Integer id);

    List<TeachingMaterial> selectByParam(MaterialQueryDTO params);

    int updateByPrimaryKeySelective(TeachingMaterial record);

    int updateByPrimaryKey(TeachingMaterial record);
}